package com.zzx.shiro.dao;

import com.zzx.shiro.entity.User;
import org.apache.ibatis.annotations.Param;

/**
 * (User)表数据库访问层
 *
 * @author makejava
 * @since 2021-09-15 15:14:40
 */
public interface UserDao {

    /**
     * 根据用户名获取用户对象
     *
     * @param username
     * @return
     */
    User queryByUserName(@Param("username") String username);

}

